package com.fzshang.shopping.commen.mapper;

import com.fzshang.shopping.commen.bean.Classification;
import com.fzshang.shopping.commen.bean.ShoppingOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2020-03-28
 */
public interface ShoppingOrderMapper extends BaseMapper<ShoppingOrder> {

    //查询全部数据
    List<ShoppingOrder> selectOrderDesc(@Param("map")Map map);
    //查询待付款
    List<ShoppingOrder> selectDaiFuKuanOrderDesc(@Param("map")Map map);
    //查询待发货
    List<ShoppingOrder> selectDaiFaHuoOrderDesc(@Param("map")Map map);
    //查询待收货
    List<ShoppingOrder> selectDaiShouHuoOrderDesc(@Param("map")Map map);
    //查询退货售后
    List<ShoppingOrder> selectTuiSHouOrderDesc(@Param("map")Map map);

    /**
     * @param map
     * @return 后台查询
     */
    List<ShoppingOrder> selectMyPage(@Param("param") Map map);
    Integer  countMyPage (@Param("param")Map map);

}
